source/io/file/stream.d(337,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stream.d(461,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stream.d(581,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stream.d(645,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stream.d(693,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stream.d(747,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stream.d(829,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stream.d(859,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stream.d(900,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stream.d(923,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stream.d(944,9): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/socket/stream.d(104,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/socket/stream.d(137,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/io/file/stdio.d(78,9): Error: `@safe` function `_sharedStaticCtor_L72_C1` cannot access `__gshared` data `stdin` source/io/file/stdio.d(79,9): Error: `@safe` function `_sharedStaticCtor_L72_C1` cannot access `__gshared` data `stdout` source/io/file/stdio.d(80,9): Error: `@safe` function `_sharedStaticCtor_L72_C1` cannot access `__gshared` data `stderr` source/io/file/stdio.d(93,5): Error: `@safe` function `_sharedStaticDtor_L91_C1` cannot access `__gshared` data `stderr` source/io/file/stdio.d(94,5): Error: `@safe` function `_sharedStaticDtor_L91_C1` cannot access `__gshared` data `stdout` source/io/file/stream.d(341,37): Error: `buf.ptr` cannot be used in `@safe` code, use `&buf[0]` instead source/io/file/stream.d(373,16): Error: safe function `io.file.stream.FileBase.readv` cannot index pointer `iov` source/io/file/stream.d(374,16): Error: safe function `io.file.stream.FileBase.readv` cannot index pointer `iov` source/io/file/stream.d(465,38): Error: `data.ptr` cannot be used in `@safe` code, use `&data[0]` instead source/io/file/stream.d(498,16): Error: safe function `io.file.stream.FileBase.writev` cannot index pointer `iov` source/io/file/stream.d(499,16): Error: safe function `io.file.stream.FileBase.writev` cannot index pointer `iov` source/io/file/stream.d(652,35): Error: cannot take address of local `stat` in `@safe` function `length` source/io/file/stream.d(793,42): Error: cannot take address of local `fl` in `@safe` function `lockImpl` source/io/file/stream.d(942,16): Error: `@safe` function `io.file.stream.FileBase.copyTo` cannot call `@system` destructor `std.typecons.RefCounted!(StreamShim!(FixedBufferBase!(FileBase)), cast(RefCountedAutoInitialize)0).RefCounted.~this` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/typecons.d(6344,5): `std.typecons.RefCounted!(StreamShim!(FixedBufferBase!(FileBase)), cast(RefCountedAutoInitialize)0).RefCounted.~this` is declared here source/io/file/stream.d(946,42): Error: `@safe` function `io.file.stream.FileBase.copyTo` cannot call `@system` function `io.file.stream.sendfile` source/io/file/stream.d(47,17): `io.file.stream.sendfile` is declared here source/io/file/temp.d(48,27): Error: `@safe` function `io.file.temp.tempDirImpl` cannot call `@system` function `core.stdc.stdlib.getenv` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(176,9): `core.stdc.stdlib.getenv` is declared here source/io/file/temp.d(49,27): Error: `@safe` function `io.file.temp.tempDirImpl` cannot call `@system` function `core.stdc.stdlib.getenv` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(176,9): `core.stdc.stdlib.getenv` is declared here source/io/file/temp.d(50,27): Error: `@safe` function `io.file.temp.tempDirImpl` cannot call `@system` function `core.stdc.stdlib.getenv` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(176,9): `core.stdc.stdlib.getenv` is declared here source/io/file/temp.d(52,26): Error: `@safe` function `io.file.temp.tempDirImpl` cannot call `@system` function `io.file.temp.tempDirImpl.isDir` source/io/file/temp.d(37,25): `io.file.temp.tempDirImpl.isDir` is declared here source/io/file/temp.d(53,26): Error: `@safe` function `io.file.temp.tempDirImpl` cannot call `@system` function `io.file.temp.tempDirImpl.isDir` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.